<?php 
class content_colmod{
    protected $colMod;
    function content_colmod($ac=array())
    {
        $this->colMod=array(
            array(  
                "text"          =>"ID"            
                ,"datafield"    =>"ID" 
                ,"cellsalign"   =>"right"
                ,"width"        => 80    
                ),
            array(  
                "text"          =>"Title"            
                ,"datafield"    =>"Title" 
                //,"width"        => 220
                ,"editable"     =>true
                ),
            array(  
                "text"          =>"Alias"            
                ,"datafield"    =>"Alias" 
                ,"width"        => 220
                ,"editable"     =>false
                ),
            array(  
                "text"          =>"Type"            
                ,"datafield"    =>"TypeName" 
                ,"columntype"   =>"dropdownlist"
                ,"filtertype"   =>"checkedlist"  
                ,"filteritems"  => $ac
                ,"width"        => 200   
                ,"editable"     =>true
                ),
            array(  
                "text"          =>"Public"            
                ,"datafield"    =>"Status" 
                ,"type"         =>"bool"
                ,"width"        => 100   
                ,"columntype"   =>"checkbox"
                ,"threestatecheckbox"=> false
                ,"filtertype"   =>"bool"  
                ,"editable"     =>true
                ,"filterable"   =>false
                ),
            array(  
                "text"          =>"Insert"            
                ,"datafield"    =>"Insert" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                //,"hidden"       =>true
                ),
            array(  
                "text"          =>"Update"            
                ,"datafield"    =>"Update" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                
                ),
            array(  
                "text"          =>"Delete"            
                ,"datafield"    =>"Delete" 
                ,"width"        => 120    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                ,"hidden"       =>true
                )
        );
    }
    function get(){
        return $this->colMod;
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */